package com.qdu.bussiness.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qdu.common.annotation.Excel;
import com.qdu.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 库存信息对象 bus_inventory
 * 
 * @author qdu
 * @date 2022-03-06
 */
public class BusInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long inventoryId;

    /** 物料名称 */
    private String itemName;

    /** 物料ID */
    @Excel(name = "物料ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long itemId;

    /** 物料编号 */
    @Excel(name = "物料编号")
    private String itemNo;

    /** 物料数量 */
    @Excel(name = "物料数量")
    private Long itemNum;

    /** 库房 */
    @Excel(name = "库房")
    private String storageRoom;

    /** 库区 */
    @Excel(name = "库区")
    private String storageArea;

    /** 库位 */
    @Excel(name = "库位")
    private String storagePosition;

    /** 状态 */
    @Excel(name = "状态")
    private String inventoryStatus;

    public void setInventoryId(Long inventoryId) 
    {
        this.inventoryId = inventoryId;
    }

    public Long getInventoryId() 
    {
        return inventoryId;
    }
    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setItemNo(String itemNo) 
    {
        this.itemNo = itemNo;
    }

    public String getItemNo() 
    {
        return itemNo;
    }
    public void setItemNum(Long itemNum) 
    {
        this.itemNum = itemNum;
    }

    public Long getItemNum() 
    {
        return itemNum;
    }
    public void setStorageRoom(String storageRoom) 
    {
        this.storageRoom = storageRoom;
    }

    public String getStorageRoom() 
    {
        return storageRoom;
    }
    public void setStorageArea(String storageArea) 
    {
        this.storageArea = storageArea;
    }

    public String getStorageArea() 
    {
        return storageArea;
    }
    public void setStoragePosition(String storagePosition) 
    {
        this.storagePosition = storagePosition;
    }

    public String getStoragePosition() 
    {
        return storagePosition;
    }
    public void setInventoryStatus(String inventoryStatus) 
    {
        this.inventoryStatus = inventoryStatus;
    }

    public String getInventoryStatus() 
    {
        return inventoryStatus;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("inventoryId", getInventoryId())
            .append("itemId", getItemId())
            .append("itemNo", getItemNo())
            .append("itemNum", getItemNum())
            .append("storageRoom", getStorageRoom())
            .append("storageArea", getStorageArea())
            .append("storagePosition", getStoragePosition())
            .append("inventoryStatus", getInventoryStatus())
            .toString();
    }
}
